package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.entity.MyUser;

//@Mapper
public interface UserMapper {


    int insertUser(MyUser user);


    MyUser getUserById(Integer id);


    MyUser getUserByName(String name);


    int upgradePassword(@Param("name")String name,@Param("password") String password);

}
